<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ChineseErrorCorrector - 智能中文纠错引擎</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }
        
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        .card-hover {
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
        
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            border-color: #667eea;
        }
        
        .text-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .feature-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .drop-cap {
            float: left;
            font-size: 4rem;
            line-height: 1;
            font-weight: 700;
            margin-right: 0.5rem;
            margin-top: -0.2rem;
            color: #667eea;
            font-family: 'Noto Serif SC', serif;
        }
        
        .section-divider {
            height: 2px;
            background: linear-gradient(to right, transparent, #667eea, transparent);
            margin: 3rem 0;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        .float-animation {
            animation: float 3s ease-in-out infinite;
        }
        
        .mermaid {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-6">
        <div class="max-w-6xl mx-auto text-center">
            <div class="float-animation inline-block mb-6">
                <i class="fas fa-spell-check text-6xl opacity-90"></i>
            </div>
            <h1 class="text-5xl md:text-6xl font-bold mb-6 tracking-tight">
                ChineseErrorCorrector
            </h1>
            <p class="text-xl md:text-2xl mb-8 opacity-95 max-w-3xl mx-auto leading-relaxed">
                强大的开源中文智能纠错引擎，让每一个汉字都准确无误
            </p>
            <div class="flex flex-wrap justify-center gap-4">
                <a href="https://github.com/TW-NLP/ChineseErrorCorrector" target="_blank" 
                   class="bg-white text-purple-700 px-8 py-3 rounded-full font-semibold hover:bg-opacity-90 transition-all duration-300 flex items-center gap-2">
                    <i class="fab fa-github"></i>
                    访问 GitHub
                </a>
                <button class="border-2 border-white px-8 py-3 rounded-full font-semibold hover:bg-white hover:text-purple-700 transition-all duration-300">
                    快速开始
                </button>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <main class="max-w-6xl mx-auto px-6 py-12">
        <!-- Introduction Card -->
        <div class="bg-white rounded-2xl shadow-xl p-8 md:p-12 mb-12 card-hover">
            <p class="text-lg leading-relaxed text-gray-700">
                <span class="drop-cap">C</span>hineseErrorCorrector 是一个强大的开源项目，专注于提供<strong class="text-purple-700">高效准确的中文拼写和语法错误纠正能力</strong>。它不仅开源了多个高性能的预训练模型，还提供了增强工具和完整的训练代码，旨在帮助开发者、研究人员以及企业<strong class="text-purple-700">提升中文文本的质量和规范性</strong>。
            </p>
        </div>

        <!-- Core Features -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-gray-800 flex items-center gap-3">
                <i class="fas fa-star feature-icon"></i>
                核心功能概述
            </h2>
            <div class="grid md:grid-cols-2 gap-6">
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="flex items-start gap-4">
                        <i class="fas fa-check-double text-3xl text-purple-600 mt-1"></i>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">全面的中文错误纠正</h3>
                            <p class="text-gray-600">能够识别并修正中文文本中的拼写错误和语法错误，确保文本准确性。</p>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="flex items-start gap-4">
                        <i class="fas fa-brain text-3xl text-purple-600 mt-1"></i>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">高性能预训练模型</h3>
                            <p class="text-gray-600">提供了如 <code class="bg-purple-100 px-2 py-1 rounded text-purple-700">ChineseErrorCorrector3-4B</code> 等多个已训练好的模型。</p>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="flex items-start gap-4">
                        <i class="fas fa-code text-3xl text-purple-600 mt-1"></i>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">开源训练与增强工具</h3>
                            <p class="text-gray-600">用户可以获取模型的训练代码，并利用14种语法错误增强工具训练定制模型。</p>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-xl p-6 shadow-lg card-hover">
                    <div class="flex items-start gap-4">
                        <i class="fas fa-plug text-3xl text-purple-600 mt-1"></i>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">多推理框架支持</h3>
                            <p class="text-gray-600">兼容Transformers、VLLM、ModelScope等多种推理方式，方便集成部署。</p>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Architecture Visualization -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-gray-800 flex items-center gap-3">
                <i class="fas fa-sitemap feature-icon"></i>
                系统架构概览
            </h2>
            <div class="bg-white rounded-xl p-8 shadow-lg">
                <div class="mermaid">
                    graph TD
                        A[输入文本] --> B[预处理模块]
                        B --> C[错误检测]
                        C --> D[拼写纠错]
                        C --> E[语法纠错]
                        D --> F[候选生成]
                        E --> F
                        F --> G[排序筛选]
                        G --> H[输出结果]
                        
                        style A fill:#f9f,stroke:#333,stroke-width:2px
                        style H fill:#9f9,stroke:#333,stroke-width:2px
                        style C fill:#667eea,color:#fff
                        style D fill:#764ba2,color:#fff
                        style E fill:#764ba2,color:#fff
                </div>
            </div>
        </section>

        <!-- Use Cases -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-gray-800 flex items-center gap-3">
                <i class="fas fa-lightbulb feature-icon"></i>
                使用场景
            </h2>
            <div class="grid md:grid-cols-3 gap-6">
                <div class="bg-gradient-to-br from-purple-50 to-pink-50 rounded-xl p-6 border border-purple-200">
                    <i class="fas fa-pen-fancy text-4xl text-purple-600 mb-4"></i>
                    <h3 class="text-xl font-semibold mb-3 text-gray-800">内容创作辅助</h3>
                    <p class="text-gray-600">在新闻编辑、文章撰写、文案校对等环节，自动检查并修正文本错误，提高内容质量。</p>
                </div>
                
                <div class="bg-gradient-to-br from-blue-50 to-purple-50 rounded-xl p-6 border border-blue-200">
                    <i class="fas fa-comments text-4xl text-blue-600 mb-4"></i>
                    <h3 class="text-xl font-semibold mb-3 text-gray-800">智能客服与对话系统</h3>
                    <p class="text-gray-600">提升用户输入文本的准确性，帮助系统更好地理解用户意图，减少沟通障碍。</p>
                </div>
                
                <div class="bg-gradient-to-br from-green-50 to-blue-50 rounded-xl p-6 border border-green-200">
                    <i class="fas fa-graduation-cap text-4xl text-green-600 mb-4"></i>
                    <h3 class="text-xl font-semibold mb-3 text-gray-800">教育与学习工具</h3>
                    <p class="text-gray-600">作为辅助工具，帮助学生和语言学习者发现并纠正中文写作中的错误。</p>
                </div>
            </div>
            
            <div class="mt-8 bg-purple-50 rounded-xl p-6 border-l-4 border-purple-500">
                <p class="text-gray-700 italic flex items-start gap-3">
                    <i class="fas fa-question-circle text-purple-600 text-xl mt-1"></i>
                    <span>您的日常中文文本处理中，是否也面临着大量的校对工作？该工具能否助您一臂之力？</span>
                </p>
            </div>
        </section>

        <div class="section-divider"></div>

        <!-- Advantages -->
        <section class="mb-16">
            <h2 class="text-3xl font-bold mb-8 text-gray-800 flex items-center gap-3">
                <i class="fas fa-trophy feature-icon"></i>
                优势与特色
            </h2>
            <div class="bg-white rounded-2xl shadow-xl p-8 md:p-10">
                <div class="grid md:grid-cols-2 gap-8">
                    <div class="flex items-start gap-4">
                        <div class="bg-purple-100 rounded-full p-3 flex-shrink-0">
                            <i class="fas fa-medal text-purple-600 text-xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">卓越纠错性能</h3>
                            <p class="text-gray-600">在2024 CCL、2023 NLPCC-NaCGEC等权威中文纠错比赛中斩获多项冠军。</p>
                        </div>
                    </div>
                    
                    <div class="flex items-start gap-4">
                        <div class="bg-purple-100 rounded-full p-3 flex-shrink-0">
                            <i class="fas fa-cogs text-purple-600 text-xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2 text-gray-800">高度定制化潜力</h3>
                            <p class="text-gray-600">开源训练代码和增强工具，可根据特定领域数据训练定制模型。</p>
                        </div>
                    </div>
                    
                    <div class="flex items-start gap-4">
                        <div class="bg-purple-100 rounded-full p-3 flex-shrink-0">
                            <i class="fas fa-puzzle-piece text-purple-600 text-xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semib